import request from '@/utils/request'


const BASE_URL='/admin/system/sysLog';

export default{

    getPageList(page,limit,searchObj){
      return request({
            url:`${BASE_URL}/${page}/${limit}`,
            method:'get',
            params:searchObj
        })
    },

    // getOwnerById(id){
    //     return request({
    //         url:`${BASE_URL}/getOwnerById/${id}`,
    //         method:'get',
            
    //     })
    // },

    // updateOwnerById(sysOwner){
    //     return request({
    //         url:`${BASE_URL}/updateOwnerById`,
    //         method:'post',
    //         data:sysOwner
    //     })
    // },

    removeLogById(id){
        return request({
            url:`${BASE_URL}/removeLogById/${id}`,
            method:'delete',
            
        })
    },

    removeLogByIds(ids){
        return request({
            url:`${BASE_URL}/removeLogByIds`,
            method:'delete',
            data:ids
        })
    },

    addLog(sysLog){
        return request({
            url:`${BASE_URL}/addLog`,
            method:'post',
            data:sysLog
        })
    },


    
}